package com.xb.system.service;


import com.google.common.hash.BloomFilter;
import com.xb.model.domain.Users;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public interface DynamicDataSplitterService {


    void splitData(String file) throws IOException;

    List<Users> processLine(String trim, BloomFilter<String> bloomFilter);

    void saveBatch(List<Users> batch);
}
